const columns=[
    {
        label: "ID",
        field: "id",
        type: "number",
        isSort: true,
        orderBy: "desc",
        isId: true,
        isSearch: false,
        isEdit: false,
        isHide: true,
        searchSetting: {
        }
    },
    {
        label: "优先级",
        field: "priority",
        type: "number",
        width: "240px",
        isSort: true,
        orderBy: "desc",
        isId: false,
        isSearch: true,
        isEdit: true,
        isAdd: true,
        setting: {
            // 后缀
            suffix: '越大越靠前',
        }
    },
    {
        label: "图片",
        field: "fileIdOfImage",
        type: "img",
        width: "270px",
        height: "100px",
        isEdit: true,
        isSearch: false,
        isAdd: true,
        setting: {
            type: "id",
            groupCode: "carouselImage",
            width: "220px",
            height: "100px",
        }
    },
    // {
    //     label: "名称",
    //     field: "name",
    //     type: "text",
    //     width: "200px",
    //     isEdit: true,
    //     isSearch: true,
    //     isAdd: true,
    // },
    // {
    //     label: "描述",
    //     field: "description",
    //     type: "text",
    //     width: "300px",
    //     isEdit: true,
    //     isSearch: true,
    //     isAdd: true,
    // },
    // 创建时间
    {
        label: "创建时间",
        field: "gmtCreate",
        type: "datetime",
        width: "200px",
        isEdit: false,
        isSearch: false,
        isAdd: false,
    },
    // 修改时间
    {
        label: "修改时间",
        field: "gmtModified",
        type: "datetime",
        width: "200px",
        isEdit: false,
        isSearch: false,
        isAdd: false,
    },

]

export default columns